package com.wanma.recuit.pojo;

import java.io.Serializable;
import java.util.List;

public class ProvinceCityRegion implements Serializable {
    /**
	* 省市区id
	*/
    private Integer id;

    /**
	* 父级的id
	*/
    private Integer parentId;

    /**
	* 省市区名称
	*/
    private String name;

    /**
	* 排序
	*/
    private Integer sort;

    private List<ProvinceCityRegion> provinceCityRegionList;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public List<ProvinceCityRegion> getProvinceCityRegionList() {
        return provinceCityRegionList;
    }

    public void setProvinceCityRegionList(List<ProvinceCityRegion> provinceCityRegionList) {
        this.provinceCityRegionList = provinceCityRegionList;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", parentId=").append(parentId);
        sb.append(", name=").append(name);
        sb.append(", sort=").append(sort);
        sb.append("]");
        return sb.toString();
    }
}